﻿<%@ Page Title="项目更换" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ProjectRenewal.aspx.cs" Inherits="PMS.Web.ProjectRenewal" %>

<asp:Content ID="HeadContent" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript">
        $(document).ready(function () {
            $("#MainContent_ddl_State").change(function () {
                var state = $("#MainContent_ddl_State").val();
                if (state == "已解决") {
                    $("#MainContent_lab_CompleteTitle").text("完成日期");
                    var completeDate = new Date();
                    $("#MainContent_lab_CompleteDate").text(completeDate.format("yyyy-MM-dd"));
                }
                else {
                    $("#MainContent_lab_CompleteTitle").text("预计日期");
                    $("#MainContent_lab_CompleteDate").text("2013-03-05");
                }
            });
        });
    </script>
</asp:Content>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        客户保修</div>
    <table width="90%">
        <tr>
            <td>
                报修日期
            </td>
            <td>
                <input id="txt_MaintainDate" type="text" class="Wdate" onfocus="WdatePicker()" />
            </td>
            <td>
                报修人员
            </td>
            <td>
                <asp:DropDownList ID="ddl_MaintainName" runat="server">
                    <asp:ListItem>张三</asp:ListItem>
                    <asp:ListItem>李四</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                联系方式
            </td>
            <td>
                <asp:TextBox ID="txt_MaintainTel" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan="6">
                故障描述
            </td>
        </tr>
        <tr>
            <td colspan="6">
                <asp:TextBox ID="txt_BugDescription" runat="server" TextMode="MultiLine" Width="90%"
                    Height="50px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                处理日期
            </td>
            <td>
                <input id="txt_HandleDate" type="text" class="Wdate" onfocus="WdatePicker()" />
            </td>
            <td>
                派工单号
            </td>
            <td colspan="3">
                <asp:TextBox ID="txt_ID" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                确认故障类型
            </td>
            <td>
                <asp:DropDownList ID="ddl_BugType" runat="server">
                    <asp:ListItem>严重</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                故障设备
            </td>
            <td>
                <asp:DropDownList ID="ddl_Device" runat="server">
                    <asp:ListItem>T</asp:ListItem>
                    <asp:ListItem>N</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                设备型号
            </td>
            <td>
                <asp:DropDownList ID="ddl_DeviceType" runat="server">
                    <asp:ListItem>N1</asp:ListItem>
                    <asp:ListItem>N2</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td colspan="6">
                处理措施描述
            </td>
        </tr>
        <tr>
            <td colspan="6">
                <asp:TextBox ID="txt_MaintainDescription" runat="server" TextMode="MultiLine" Width="90%"
                    Height="50px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                维修工程师
            </td>
            <td colspan="5">
                <asp:DropDownList ID="ddl_MaintainPeople" runat="server">
                    <asp:ListItem>张三</asp:ListItem>
                    <asp:ListItem>李四</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                当前状态
            </td>
            <td>
                <asp:DropDownList ID="ddl_State" runat="server">
                    <asp:ListItem>未解决</asp:ListItem>
                    <asp:ListItem>已解决</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
            </td>
            <td>
            </td>
            <td>
                <asp:Label ID="lab_CompleteTitle" runat="server" Text="预计日期"></asp:Label>
            </td>
            <td>
                <asp:Label ID="lab_CompleteDate" runat="server" Text="2013-03-05"></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>
